package com.xudm.imp.service;

import cn.hutool.json.JSONObject;
import org.apache.hc.core5.http.ParseException;

import java.io.IOException;

public interface OpenAiApi {
    /**
     * 单聊
     *
     * @param question 问题
     * @return 答案
     */
    JSONObject singleChat(String question) throws IOException, ParseException;
}
